package pro;

/**
 * @Description: TODO
 * @author: muxiongxiong
 * @date: 2021年07月02日 10:54
 * 公众号：雄雄的小课堂
 * 博客：https://blog.csdn.net/qq_34137397
 */
public class Teacher {
    private int tid;
    private String tname;
    private int tage;
    private String address;

    //构造方法

    public Teacher(int tid, String tname, int tage, String address) {
        this.tid = tid;
        this.tname = tname;
        this.tage = tage;
        this.address = address;
    }

    public Teacher() {

    }

    //getset方法


    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public int getTage() {
        return tage;
    }

    public void setTage(int tage) {
        this.tage = tage;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
